package harima.AGameServer.ServerSide.Exceptions;

public abstract class ServerException extends Exception {
	
	Exception innerException;
	
	protected ServerException(String message, Exception _innerException)
	{
		super(message);
		innerException = _innerException;
	}
	
	public Exception getInnerException()
	{
		return innerException;
	}
	
	public boolean hasInnerException()
	{
		return innerException != null;
	}
}
